WPStaging\Backend\Modules\Jobs\Cloning B

Total Complexity 78
Dependencies 22
Dependents 1
Total lines 565
Lines of code 306
Logical lines of code 181
Comment lines 148
Methods 22
Properties 5

Methods 22

Method Rating Maintainability Complexity Lines of code
save()
D
27
34 129
writeJobSpecificLogStartHeader()
S
53 7 23
start()
S
57 6 15
setStagingPrefix()
S
57 5 15
saveClone()
S
48 2 33
getDestinationDir()
S
63 3 11
handleJobResponse()
S
63 2 11
maybeAppendUnderscorePrefix()
S
68 2 7
isDestinationDatabaseSameAsLiveDatabase()
S
79 2 3
getDestinationHostname()
S
69 2 7
getDestinationUrl()
S
71 2 6
getHostnameWithoutScheme()
S
78 1 3
getErrorMessage()
S
82 1 3
jobPreserveDataFirstStep()
S
72 1 5
jobDatabase()
S
75 1 4
jobSearchReplace()
S
75 1 4
jobPreserveDataSecondStep()
S
75 1 4
jobDirectories()
S
75 1 4
jobFiles()
S
75 1 4
jobData()
S
79 1 3
jobFinish()
S
70 1 6
initialize()
S
70 1 6